package com.alifi.crm.web.home.screen;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.ecs.html.Input;

import com.alibaba.buc.sso.client.util.SimpleUserUtil;
import com.alibaba.citrus.turbine.Context;
import com.alibaba.platform.buc.sso.common.dto.SimpleSSOUser;

import com.alibaba.citrus.turbine.util.CsrfToken;

public class Index {
	public void execute(HttpServletRequest request, HttpServletResponse response,final Context ctx){
		try {
			SimpleSSOUser user = SimpleUserUtil.findUser(request);
			ctx.put("user", user);
		} catch (Exception e) {
			e.printStackTrace();
		} 

	}
	
	

}
